<template>
    <div class="bao">
        <el-breadcrumb separator="/">
            <el-breadcrumb-item v-for="(item, index) in urlList" :key="index" :to="{ path: item.path }">
                {{ item.meta.text }}
            </el-breadcrumb-item>

        </el-breadcrumb>
    </div>
</template>
<script setup lang="ts">
import { toRefs } from 'vue';
import { useStore } from '../../store';

const store = useStore()
const { urlList } = toRefs(store)
</script>

<style lang="scss" scoped>
.bao {
    padding: 10px 20px 0 20px;
}
</style>